package java_class_work.week08.demo02;

/**
 * @Author Tiam
 * @Date 2022/10/31 11:31
 * @Description: 生产-消费模型
 */
public class Test {
    public static void main(String[] args) {
        Box box = new Box();
        new Thread(new Producer(box), "生产者").start();
        new Thread(new Consumer(box), "消费者").start();
    }
}
